CoreRMO::Random Rank Candidates
Applies a random rank to all candidates of the specified category that have not already been ranked. Used by Microsoft. Provisioning Framework (MPF).
XML Input Schema
The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.
<executeData>1..1 <candidates>1..1 <targetSet>1..1</targetSet> <category>1..1</category> </candidates> </executeData>XML Output Schema
Random Rank Candidates does not return data.
Elements and Attributes
The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.
Element Description, relationships, and attributes candidates Description:
Encapsulates data needed to interact with the candidate set.Parent:
executeDataChildren:
category (minOccurs="1" maxOccurs="1")
targetSet (minOccurs="1" maxOccurs="1")category Description:
Category of the object to rank: resourceInstance, resourceGroup, consumerInstance, or consumerGroup.Parent:
candidatesexecuteData Description:
Encapsulates the procedure's input data.Child:
candidates(minOccurs="1" maxOccurs="1")targetSet Description:
Set of candidates to rankParent:
candidatesExample
<request> <data/> <procedure> <execute procedure="Find Resources" namespace="CoreRMO"> <executeData> <resourceInstance> <typeName>IISServer</typeName> </resourceInstance> <candidates> <targetSet>serverSet</targetSet> </candidates> </executeData> </execute> <execute procedure="Random Rank Candidates" namespace="CoreRMO"> <executeData> <candidates> <targetSet>serverSet</targetSet> <category>resourceInstance</category> </candidates> </executeData> </execute> </procedure> </request>See Also
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.